#ifndef INCLUDED_MeleeEnemy_H
#define INCLUDED_MeleeEnemy_H

#include <SGE.h>
using namespace SGE;
#include "Enemy.h"
#include "Health.h"
#include "Melee.h"
#include "Character.h"

class MeleeEnemy : public Enemy
{
	public:
		MeleeEnemy();
		virtual ~MeleeEnemy();

		virtual void Load();
		virtual void Unload();
		virtual void Update(float deltaTime,  Map& map, Character& character);
		virtual void Render(const SVector2& viewOffset);

		void Spawn(const SVector2& pos);
		virtual void Kill();

		virtual SRect GetBoundingBox() const;

		//VELOCITY SHIFT
		void Seek(float deltaTime, Character& character);
		void MeleeAttack(float deltaTime, Character& character);
		
		Health mCurrentHealth;

	private:
		Melee mMeleeAttack;
		float mMeleeDelay; 

		SVector2 mDestination;
		float mMaxSpeed;
		float mAlertDistance;
		SGE_Sound mDeathSound;
};
#endif // #ifndef INCLUDED_MeleeEnemy_H